namespace nu
{
    using System.IO;

    public class FileAdapter : IFileSystem
    {
        public bool Exists(string filePath)
        {
            return File.Exists(filePath);
        }

        public Stream Read(string filePath)
        {
            return new FileStream(filePath, FileMode.Open, FileAccess.Read);
        }


        public void Write(Stream file)
        {
            FileStream fs = new FileStream("path", FileMode.Create, FileAccess.Write);
            fs.Write(null, 0, 0);
        }
    }
}